<div class="invite_friend" ng-controller="invite_friendCtrl as vm">
    <div class="banner">
        <div class="text">
            <div class="text1">邀请你</div>
            <div class="text2">见证我的健身成果</div>
        </div>
    </div>
    <div class="list">
        <div class="top">
            <div class="title">
                <div class="left">
                    <img ng-src='{{vm.data.witness.avatar}}' alt="">
                    <div class="text">
                        <div class="name">{{vm.data.witness.nickname}}</div>
                        <div class="date">{{vm.data.witness.create_time}}</div>
                    </div>
                </div>
                <div class="right">
                    <img data-ng-if="vm.data.witness.status" src="../../img/home/success_handle.png" alt="">
                    <!--<div class="invite_button">邀请见证</div>-->
                </div>
            </div>
            <div class="content">
                {{vm.data.witness.desc}}
            </div>
            <div class="img_list">
                <img data-ng-repeat="item in vm.data.witness.imgs" ng-src="{{item}}" data-ng-click="vm.openImg(item,vm.data.witness.imgs)" alt="">
            </div>
        </div>
    </div>
    <div class="add_invite" data-ng-click="vm.witness()">帮他见证</div>
    <div class="friend_list">
        <div class="title">
            <div class="length"></div>
            <div class="title_name">已有{{vm.data.witness.num}}位朋友帮他见证</div>
            <div class="length"></div>
        </div>
        <div class="li" data-ng-repeat="item in vm.data.people">
            <div class="left">
                <img ng-src="{{item.avatar}}">
                <div class="name">{{item.nick}}</div>
            </div>
            <div class="time">{{item.create_time*1000|date:"yyyy-MM-dd HH:mm"}}</div>
        </div>
    </div>
</div>